ArcGIS Runtime SDK for WPF - Library Reference
AreasAndLengthsTaskAsync(IList<Graphic>,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > AreasAndLengthsTaskAsync Method : AreasAndLengthsTaskAsync(IList<Graphic>,CancellationToken) Method

graphics
The graphics used to calculate areas and lengths.
cancellationToken
The cancellation token.
Calculates the areas and lengths of each specified polygon.

Syntax

Visual Basic (Declaration) 
Public Overloads Function AreasAndLengthsTaskAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal cancellationToken As CancellationToken _
) As Task(Of AreasAndLengthsResult)
C# 
public Task<AreasAndLengthsResult> AreasAndLengthsTaskAsync( 
   IList<Graphic> graphics,
   CancellationToken cancellationToken
)

Parameters

graphics
The graphics used to calculate areas and lengths.
cancellationToken
The cancellation token.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.